/**
 * Created by LaoXu on 2017/12/20.
 * @description:购物车
 */
const pool = require('./base/pool');

class Shop {
    constructor() {

    }

    /**
     * 获取所有店铺信息
     * @param callback
     */
    getDataList(callback) {
        pool.querySQL("SELECT * FROM t_shop", function (results) {
            if (callback) {
                callback(results);
            }
        });
    }
}

module.exports = Shop;
